# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=pantheon-onboarding
pkgver=7.0.1
pkgrel=1
pkgdesc='Onboarding app for new users'
arch=(loong64 x86_64)
url=https://github.com/elementary/onboarding
license=(GPL3)
groups=(pantheon)
depends=(
  glib2
  libadwaita-1.so
  libgranite-7.so
)
makedepends=(
  git
  intltool
  meson
  vala
)
_tag=de9771a90907fd36fa8f4c3e2f51c7f89ee3d094
source=(pantheon-onboarding::git+https://github.com/elementary/onboarding.git#tag=${_tag})
b2sums=(SKIP)

pkgver() {
  cd pantheon-onboarding
  git describe --tags
}

build() {
  arch-meson pantheon-onboarding build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et:
